/*
 * Copyright (c) 2002-2004, xRhino, Inc.
 *
 * This library is free software; you can redistribute and/or modify
 * it under the terms of the dual license distributed with this source
 * package (a combined Trolltech QPL/GPL-compatible license)
 *
 * Under this dual license scheme, a separate license is available for use of 
 * this code with a proprietary (closed) system. For more information on the 
 * license, please see the LICENSE file distributed with this source package.
 */
#ifndef SUGPOLYGONELEMENT_H
#define SUGPOLYGONELEMENT_H

#include "SugTypes.h"
#include "SugElement.h"
#include "SugPoint.h"

/**
 * The subclass of SugElement responsible for representing SVGPolygon.
 */
class SugPolygonElement: public SugElement
{
  protected:
   /**
    * The vector that holds the points of the polygon.
    */
    vector<SugPoint*> mPoints;

  public:
   /**
    * Returns the vector of points.
    */
    vector<SugPoint*>* getPointList();

   /**
    * Sets the vector of points.
    */
   vector<SugPoint*>* setPointList(vector<SugPoint*> newPointList);

   /**
    * The class constructor.
    */
   SugPolygonElement();

   /**
    * The class destructor.
    */
   ~SugPolygonElement();

};

#endif
